package com.itcast.dao;

import com.itcast.domain.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author: Ray
 * @Date: 2020/12/12 00:09
 *
 * spring data jpa dao层规范：
 *      继承jpaRepository<操作的实体类，实体类主键类型>
 *      继承JpaSpecificationExecutor<操作的实体类>
 */

public interface CustomerDao extends JpaRepository<Customer,Long>, JpaSpecificationExecutor<Customer> {

}
